import Checkbox from '../utils/class/Checkbox';
import { CheckboxProps } from '../utils/common/props';

function useCheckbox(attrs?: CheckboxProps): Checkbox {
  return new Checkbox(attrs);
}

export default useCheckbox;
